ANSI/SMPTE 170M-1994 defines Field 1, Field 2, Field 3, and Field 4 for NTSC (figure 7).
ANSI/SMPTE 125M-1992 defines the 525-line version of the bit-parallel digital CCIR-601 signal, using an NTSC waveform for reference. ANSI/SMPTE 259M-1993 defines the 525-line version of the bit-serial digital CCIR-601 signal in terms of the bit-parallel signal. 125M defines Field 1 and Field 2 for the digital signal.
CCIR Rep. 624-1-1978 defines Field 1 and Field 2 (figure 2) for 625-line PAL.
CCIR Recommendation 656 Describes a 625-line version of the bit-serial and bit-parallel CCIR-601 digital video signal. It defines Field 1 and Field 2 for that signal (table I).
We define F1 as an instance of Field 1 or Field 3.
We define F2 as an instance of Field 2 or Field 4.
The term 'interleave' must be qualified when used in this way. It can also refer to how the samples of an image's different color basis vectors are arranged in memory, or how audio and video are arranged together in memory.
field 1 field 2 picture 0-based picture 1-based ******* ******* *************** *************** (second half only)-----| l.283 0 1 l.21 |----------------------- | 1 2 | -----------------------| 2 3 |----------------------- |-- F2 3 4 F1 --| -----------------------| 4 5 |----------------------- | ... ... | -----------------------| ... ... |----------------------- | 483 484 | -----------------------| l.525 484 485 l.263 |------(first half only) 485 486For official 525-line digital signals, the picture should be produced in this manner: (F1 has 244 active lines, F2 has 243 active lines==487 active lines)
field 1 field 2 picture 0-based picture 1-based ******* ******* *************** *************** l.20 |----------------------- 0 1 | -----------------------| l.283 1 2 l.21 |----------------------- | 2 3 | -----------------------| 3 4 |----------------------- |-- F2 4 5 F1 --| -----------------------| 5 6 |----------------------- | ... ... | -----------------------| ... ... |----------------------- | 483 486 | -----------------------| l.525 484 486 l.263 |----------------------- 486 487For practical 525-line digital signals, all current SGI VL hardware skips line 20 of the signal, and pretends that the signal has 486 active lines. As a result, we can think of the signal as having exactly the same interlacing charateristics and line numbers as the analog signal: (F1 has 243 active lines, F2 has 243 active lines==486 active lines)
field 1 field 2 picture 0-based picture 1-based ******* ******* *************** *************** -----------------------| l.283 0 1 l.21 |----------------------- | 1 2 | -----------------------| 2 3 |----------------------- |-- F2 3 4 F1 --| -----------------------| 4 5 |----------------------- | ... ... | -----------------------| ... ... |----------------------- | 483 484 | -----------------------| l.525 484 485 l.263 |----------------------- 485 486For 625-line analog signals, the picture should be produced in this manner: (F1 has 288 active lines, F2 has 288 active lines)
field 1 field 2 picture 0-based picture 1-based ******* ******* *************** *************** l.23 |--(second half only)--- 0 1 | -----------------------| l.336 1 2 |----------------------- | 2 3 F1 --| -----------------------| 3 4 |----------------------- |-- F2 4 5 | -----------------------| ... ... |----------------------- | ... ... | -----------------------| 573 574 l.310 |----------------------- | 574 575 ----(first half only)--| l.623 575 576For 625-line digital signals, the picture should be produced in this manner: (F1 has 288 active lines, F2 has 288 active lines)
field 1 field 2 picture 0-based picture, 1-based ******* ******* *************** **************** l.23 |----------------------- 0 1 | -----------------------| l.336 1 2 |----------------------- | 2 3 F1 --| -----------------------| 3 4 |----------------------- |-- F2 4 5 | -----------------------| ... ... |----------------------- | ... ... | -----------------------| 573 574 l.310 |----------------------- | 574 575 -----------------------| l.623 575 576All Field 1 and Field 2 line numbers match those in SMPTE 170M and CCIR 624. Both of the digital specs use identical line numberings to their analog counterparts. Warning: "Video Demystified" and many chip specs use nonstandard line numbers in some (not all) of their diagrams. Warning: 125M draws fictitious half-lines in figure 3 in very strange places that do not correspond to where the half-lines fall in the analog signal.
Picture line numbering scheme is shown both 0-based (like the movie library) and 1-based.
The rules for interleaving two fields in memory depend on the same factors as those for interlacing:
The rules themselves are identical to those found under "PRACTICAL 525-line digital signals" and "625-line digital signals" above.
Field dominance can be "F1 Dominant" or "F2 Dominant." It defines the meaning of a "frame."
For "F1 Dominant," a "frame" is an F1 field followed by an F2 field. This is the protocol recommended by all of the above specifications.
For "F2 Dominant," a "frame" is an F2 field followed by an F1 field. This is the protocol followed by several NY production houses for the 525-formats only.
Most older VTRs cannot make edits on any granularity finer than the frame. The latest generation of VTRs are able to make edits on arbitrary field boundaries, but can (and most often are) configured only to make edits on frame boundaries. Video capture or playback on a computer, when triggered, must begin on a frame boundary. Software must interleave two fields from the same frame to produce a picture. When software de-interleaves a picture, the two resulting fields are in the same frame.
Regardless of the field dominance, if there are two contiguous fields in a VLbuffer, the first field is always temporally earlier than the second one: under no circumstances should the temporal ordering of fields in memory be violated.
"Even and odd" could refer to whether a field's active lines end up as the even scanlines of a picture or the odd scanlines of a picture. In this case, one needs to additionally specify how the scanlines of the picture are numbered (zero-based or one-based), and one may need to also specify 525 vs. 625 depending on the context.
"Even and odd" could refer to the number 1 or 2 in F1 and F2, which is of course a totally different concept that only sometimes maps to the above. This definition seems somewhat more popular.
The VL unfortunately uses these terms in one place:
This is a relatively new convention and is not yet implemented on all devices.
This discussion will first assume top-to-bottom orientation of video lines in images.
The movie library has no parameter relating to field dominance in any way whatsoever. However, a choice of field dominance must be made when creating a movie file, because a movie file encodes pairs of fields into what it calls "frames," and all data transfers are on frame boundaries.
A movie library "frame," or "image," is defined by two parameters:
The MV uses a zero-based line numbering scheme for DM_LAYOUT_FULL_FRAME images (line numbers 0,1,2,3,...).
An image which is DM_IMAGE_NONINTERLACED must be DM_LAYOUT_FULL_FRAME.
An image which is DM_IMAGE_INTERLACED_* can be full-frame or split field. The presence of the DM_IMAGE_INTERLACING parameter allows one to go between split-field and full-frame format at will.
A DM_IMAGE_INTERLACED_ODD image is an image such that the scanlines of the first field in the DM_LAYOUT_SPLIT_FIELD representation are meant to occupy the lines 1/3/5/7/... of the DM_LAYOUT_FULL_FRAME representation.
A DM_IMAGE_INTERLACED_EVEN image is an image such that the scanlines of the first field in the DM_LAYOUT_SPLIT_FIELD representation are meant to occupy the lines 0/2/4/8/... of the DM_LAYOUT_FULL_FRAME representation.
By "first field," we mean the image that is temporally first AND first in memory.
If an MV image is marked as bottom-to-top instead of top-to-bottom, then all temporal ordering and memory ordering rules become exactly reversed. A picture:
top-to- bottom-to bottom top DM_LAYOUT_FULL_FRAME: 0 . 1 5 2 4 3 3 4 2 5 1 . 0 DM_LAYOUT_SPLIT_FIELD and DM_IMAGE_INTERLACED_EVEN 0 . 2 5 4 3 . 1 --- --- 1 . 3 4 5 2 . 0 DM_LAYOUT_SPLIT_FIELD and DM_IMAGE_INTERLACED_ODD 1 . 3 4 5 2 . 0 --- --- 0 . 2 5 4 3 . 1
The buffer's DM_IMAGE_LAYOUT can be determined simply by seeing whether the lines are split up into fields or interleaved together.
The buffer's DM_IMAGE_INTERLACING depends on many factors. For a signal with F1 dominanance, a frame consists of an F1 field followed by an F2 field (temporally and in memory). The DM_IMAGE_INTERLACING parameter tells us on which picture lines to place the first field's data. So we have: